package com.firmboy.demo.component.demo.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.firmboy.demo.component.demo.bean.JdProduct;
import com.firmboy.demo.component.demo.dao.JdProductDao;

@Service
@Transactional
public class JdProductService {

	
	@Autowired
	private JdProductDao jdProductDao;
	
	public List<JdProduct> getJdProducts(Map<String,Long> param){
		return jdProductDao.selectForPage(param);
	}
}
